package Homework.Top06;

public class BenChi extends Car{
    public BenChi(String plate,String color){
        super(plate, color);
    }
    public void startUp(){
        System.out.println("颜色为"+getColor()+"的"+getPlate()+"车启动");
    }

    public void accelerate(){
        System.out.println("颜色为"+getColor()+"的"+getPlate()+"车加速");
    }

    public void end(){
        System.out.println("颜色为"+getColor()+"的"+getPlate()+"车停止");
    }
}
